import { ref, computed } from "vue";
import { defineStore } from "pinia";

export const useThemeStore = defineStore('theme', () => {
  const themeBol = ref(true)


  // const doubleCount = computed(() => count.value * 2)


  function setThemeBol(f:boolean) {
     themeBol.value = f
  }

  return { themeBol, setThemeBol }
},{persist: true,})
